package com.binguo.model.api.dto;

import com.binguo.common.enums.PayType;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;
import java.util.Optional;

/**
 * Created by haibang on 18/5/10.
 */
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Data
public class OrderDTO {
    private String productOrderNo;

    private String productOrderUrl;

    private String orderNo;

    private String serialNumber;

    private Integer shopId;

    private Integer cashierDeskId;

    private Integer consumeLimitCount;

    private Integer shopPayConfigId;

    private String openId;

    private Integer customerId;

    private String customerName;

    private String customerPhone;

    private Integer customerGroupID;

    private String cardNo;

    private Long accountBalance;

    private String authCode;

    private PayType payType;

    private Long totalFee;

    private Long realFee;

    private Integer totalQuantity;

    private List<OrderItemDTO> items;

    private Long money;

    private Long wxMoney;

    private Long bzMoney;

    private Long yktMoney;

    private Integer isSMKOrder;

    private Integer packageId;

    private Integer userId;

    private Long webAccountBalance;

    private String posseq;

    private String icdata;

    private Date payTime;

    private String note;

}
